﻿using S.Authorization.Domain.Model.Authority;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace S.Authorization.Common.Dto
{
    /// <summary>
    /// 菜单导航递归格式
    /// </summary>
    public class MenuItemDto
    {
        /// <summary>
        /// 菜单表的主键
        /// </summary>
        public int value { get; set; }

        /// <summary>
        /// 菜单表的菜单名称
        /// </summary>
        public string? title { get; set; }

        /// <summary>
        /// 路径名称
        /// </summary>
        public string? path { get; set; }
        /// <summary>
        /// 菜单图标
        /// </summary>
        public string? icon { get; set; }

        /// <summary>
        /// 菜单对应的功能
        /// </summary>
        public List<Operation> operationList { get; set; }

        /// <summary>
        /// 子级
        /// </summary>
        public List<MenuItemDto>? children { get; set; }

       
    }
}
